package 设计模式.i_装饰模式;

/**
 * 饮品调味装饰类
 * 
 * @author caihe
 * @date 2023/3/13 10:54
 */
public abstract class CondimentDecorator extends Drink{

    /**
     * 持有一个饮品对象的引用
     */
    protected Drink drink;

    public CondimentDecorator(Drink drink) {
        this.drink = drink;
    }
    
}
